projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4aa3ba0
)
Don't write explicit (interactive) in defining a derived mode.
author
Richard M. Stallman
<rms@gnu.org>
Sun, 11 Nov 2001 20:08:27 +0000
(20:08 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sun, 11 Nov 2001 20:08:27 +0000
(20:08 +0000)
lispref/modes.texi
patch
|
blob
|
history
diff --git
a/lispref/modes.texi
b/lispref/modes.texi
index 072f8f69f8fe409606a1e038504f3aa92394868b..bbeb08409edb2549202a57f0afffb301eb13d4cf 100644
(file)
--- a/
lispref/modes.texi
+++ b/
lispref/modes.texi
@@
-778,6
+778,9
@@
Here is a hypothetical example:
(define-key hypertext-mode-map
[down-mouse-3] 'do-hyper-link)
@end example
+
+Do not write an @code{interactive} spec in the definition;
+@code{define-derived-mode} does that automatically.
@end defmac
@node Minor Modes